package com.wjh.pojo;

import java.util.Date;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表(User)表实体类
 *
 * @author makejava
 * @since 2023-03-14 16:03:48
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User  {
    //学号@TableId
    @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    //用户名
    private String userName;
    //密码
    private String passWord;
    //用户类型（0为最高级用户，1为核心管理人员，2为普通用户）
    private Integer type;
    //班级
    private String headClass;
    //昵称
    private String nickName;
    //微信
    private String wx;
    //qq
    private String qq;
    //方向Id
    private Integer tagId;
    //姓名
    private String name;
    //状态
    private Integer status;
    //邮箱
    private String email;
    //手机号
    private String phonenumber;
    //性别
    private String sex;
    //头像
    private String avatar;
    @TableField(fill = FieldFill.INSERT)
    private Integer createBy;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    
    private Integer delFlag;

    @TableField(exist = false)
    private Integer headNumber;

    @TableField(exist = false)
    private Integer isTop;


}

